package com.dems.service;

import com.alipay.api.domain.Room;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dems.dao.dataobject.RoomUserRelation;
import com.dems.dao.dataobject.User;
import com.dems.domain.RoomUserRelationReqVO;

import java.util.List;

public interface RoomUserRelationService {
    /**
     * 分页查询人员与机房绑定关系
     **/
    Page findByPage(RoomUserRelationReqVO reqVO);

    /**
     * 新增机房与人员绑定关系
     * */
    int saveRelation(List<RoomUserRelation> roomUserRelation, User user);

    /**
     * 更新机房与人员绑定关系
     * */
    int updateRelation(RoomUserRelation roomUserRelation, User user);
}
